/*
 * IFDBEmp.java
 *
 * Created on 5. oktober 2006, 13:53
 *
 
 */

package db;
import model.*;
import java.util.ArrayList;


/**
 * 
 */

public interface IFDBCus {
    // get all Customers
    public ArrayList<Customer> getAllCustomers(boolean retriveAssociation);
    //get one Customer having the phoneNo
    public Customer findCustomer(String phoneNo, boolean retriveAssociation);
    //find one Customer having the fname
    public Customer searchCustomerFname( String fname, boolean retriveAssociation);
    //find one Customer having the lname
    public Customer searchCustomerLname( String lname, boolean retriveAssociation);
    //find one Customer having the ssn
    public Customer searchCustomerPhoneNo( String phoneNo, boolean retriveAssociation);
    //insert a new Customer
    public int insertCustomer(Customer cus);
    //update information about an Customer
    public int updateCustomer(Customer cus);
    
}
